package com.example.demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.sql.Timestamp;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("question")
public class Question {
    @TableId(type = IdType.AUTO)
    int question_id;
    int user_id;
    String username;
    String question_summary;
    String question_details;
    String hp_url;
    Timestamp question_time;

}
